/*
 * Sesame Inc.
 * Copyright (c) 2009 All Rights Reserved.
 */
package com.sesame.dao;

import java.util.List;

import com.sesame.domain.Ask;
import com.sesame.toolkit.Page;

/**
 * @author shubeta
 * 
 */
public interface AskDAO {
    public List<Ask> getAllAsk(Page page);

    public Ask getAskById(Integer id);

    public void addAsk(Ask ask);

    public void deleteAskById(Integer id);

    public void deleteAskByNickName(String nickName);

    public Integer getAskCount();
}